package testsuite_homepage;

import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;

public class SuccessLoginPage {

	private final WebDriver driver;

	public SuccessLoginPage(WebDriver driver) {
		this.driver = driver;

		if (!driver.getPageSource().contains("Change Password")) {
			throw new IllegalStateException("Homepage not logged in.");
		}
	}

}
